Method StartAsync(IServiceProvider, IConfiguration, params Func<IRouteContext, IRouteContext>[])
Starts redb.Identity in this process.
In order it: checks the host and the configuration and fails with a message that names the
missing registration or key; creates a route context with the host's logger factory; copies the
Identity and IdentityTransport sections into the context; runs the entry point of
redb.Identity.Core.Module, then each facade in the order given; starts the context, which creates
the schema and seeds on first start and opens the ports; and fails when a route did not start.
Checked before anything starts: logging and
are registered; Identity:Issuer is an absolute URI; a key source is chosen,
Identity:UsePropsSigningKeyStore (keys kept in redb) or Identity:AllowEphemeralKeys
(development, keys die with the process); IdentityTransport is present when a facade is given.
public static Task<RedbIdentityHost> StartAsync(IServiceProvider provider, IConfiguration configuration, params Func<IRouteContext, IRouteContext>[] facades)